package cn.dy.sbo.core;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import cn.common.lib.springside.orm.BaseDao;
import cn.common.lib.springside.service.EntityManager;
import cn.dy.sbo.api.FlowDao;
import cn.dy.sbo.model.Flow;
import cn.dy.sbo.vo.DropListVO;

@Component
@Transactional
public class FlowManager  extends EntityManager<Flow, Long>{

	@Autowired
    private FlowDao flowDao;
	@Override
	protected BaseDao<Flow, Long> getEntityDao() {
		return flowDao;
	}
	public List<DropListVO> getByCat(Long id) {
		return flowDao.getByCat(id);
	}

}
